package com.houtai.bean;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class TdCampus implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value="园区id", name="campus_id")
    private int campus_id;

    @NotEmpty(message = "园区名称不能为空")
    @Length(max = 30, message = "园区名称最多30个字符")
    @ApiModelProperty(value="园区名称", name="campus_name")
    private String campus_name;

    @NotEmpty(message = "图片不能为空")
    @ApiModelProperty(value="图片", name="campus_img")
    private String campus_img;

    @NotEmpty(message = "园区标签不能为空")
    @Length(max = 15, message = "园区标签最多15个字符")
    @ApiModelProperty(value="园区标签 以,分割 最多三个", name="campus_label")
    private String campus_label;

    @NotEmpty(message = "园区地址不能为空")
    @Length(max = 100, message = "园区地址最多100个字符")
    @ApiModelProperty(value="园区地址", name="address")
    private String address;

    @ApiModelProperty(value="企业数量", name="company_size")
    private int company_size;

    @NotNull(message = "日租不能为空")
    @ApiModelProperty(value="日租 元/平/日  单位分", name="company_size")
    private int day_rent;

    @NotNull(message = "月租不能为空")
    @ApiModelProperty(value="月租 元/平/月  单位分", name="company_size")
    private int month_rent;

    @NotEmpty(message = "账户不能为空")
    @Length(max = 20, message = "账户最多20个字符")
    @ApiModelProperty(value="账户", name="campus_account")
    private String campus_account;

    @ApiModelProperty(value="密码", name="campus_psd")
    private String campus_psd;

    @NotNull(message = "从业人数不能为空")
    @ApiModelProperty(value="从业人数", name="employed_size")
    private int employed_size;

    @NotEmpty(message = "招商热线不能为空")
    @Length(max = 20, message = "招商热线最多20个字符")
    @ApiModelProperty(value="招商热线", name="hotline")
    private String hotline;

    @NotEmpty(message = "园区官网不能为空")
    @Length(max = 100, message = "园区官网最多100个字符")
    @ApiModelProperty(value="园区官网", name="campus_uccn")
    private String campus_uccn;


    @ApiModelProperty(value="基本情况", name="essential_condition")
    private String essential_condition;

    @ApiModelProperty(value="园区特点", name="campus_trait")
    private String campus_trait;

    @ApiModelProperty(value="运行情况", name="running_condition")
    private String running_condition;

    @NotNull(message = "经度不能为空")
    @ApiModelProperty(value="经度", name="longitude")
    private double longitude;

    @NotNull(message = "纬度不能为空")
    @ApiModelProperty(value="纬度", name="latitude")
    private double latitude;

    @ApiModelProperty(value="省id", name="province_id")
    private int province_id;

    @ApiModelProperty(value="市id", name="city_id")
    private int city_id;

    @ApiModelProperty(value="成立时间", name="set_up_time")
    private Date set_up_time;

    @ApiModelProperty(value="添加时间", name="add_time")
    private Date add_time;

    @ApiModelProperty(value="园区类型id", name="campus_type")
    private int campus_type;

    @ApiModelProperty(value="0正常1已封禁", name="state")
    private int state;

    @ApiModelProperty(value="园区指数 百分制  1即显示0.01", name="campus_index")
    private int campus_index;

    private String code_name;

    @NotEmpty(message = "成立时间不能为空")
    private String set_up_time_s;

    public int getCampus_id() {
        return campus_id;
    }

    public void setCampus_id(int campus_id) {
        this.campus_id = campus_id;
    }

    public String getCampus_name() {
        return campus_name;
    }

    public void setCampus_name(String campus_name) {
        this.campus_name = campus_name;
    }

    public String getCampus_img() {
        return campus_img;
    }

    public void setCampus_img(String campus_img) {
        this.campus_img = campus_img;
    }

    public String getCampus_label() {
        return campus_label;
    }

    public void setCampus_label(String campus_label) {
        this.campus_label = campus_label;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCompany_size() {
        return company_size;
    }

    public void setCompany_size(int company_size) {
        this.company_size = company_size;
    }

    public int getDay_rent() {
        return day_rent;
    }

    public void setDay_rent(int day_rent) {
        this.day_rent = day_rent;
    }

    public int getMonth_rent() {
        return month_rent;
    }

    public void setMonth_rent(int month_rent) {
        this.month_rent = month_rent;
    }

    public String getCampus_account() {
        return campus_account;
    }

    public void setCampus_account(String campus_account) {
        this.campus_account = campus_account;
    }

    public String getCampus_psd() {
        return campus_psd;
    }

    public void setCampus_psd(String campus_psd) {
        this.campus_psd = campus_psd;
    }

    public int getEmployed_size() {
        return employed_size;
    }

    public void setEmployed_size(int employed_size) {
        this.employed_size = employed_size;
    }

    public String getHotline() {
        return hotline;
    }

    public void setHotline(String hotline) {
        this.hotline = hotline;
    }

    public String getCampus_uccn() {
        return campus_uccn;
    }

    public void setCampus_uccn(String campus_uccn) {
        this.campus_uccn = campus_uccn;
    }

    public String getEssential_condition() {
        return essential_condition;
    }

    public void setEssential_condition(String essential_condition) {
        this.essential_condition = essential_condition;
    }

    public String getCampus_trait() {
        return campus_trait;
    }

    public void setCampus_trait(String campus_trait) {
        this.campus_trait = campus_trait;
    }

    public String getRunning_condition() {
        return running_condition;
    }

    public void setRunning_condition(String running_condition) {
        this.running_condition = running_condition;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public int getProvince_id() {
        return province_id;
    }

    public void setProvince_id(int province_id) {
        this.province_id = province_id;
    }

    public int getCity_id() {
        return city_id;
    }

    public void setCity_id(int city_id) {
        this.city_id = city_id;
    }

    public Date getSet_up_time() {
        return set_up_time;
    }

    public void setSet_up_time(Date set_up_time) {
        this.set_up_time = set_up_time;
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    public int getCampus_type() {
        return campus_type;
    }

    public void setCampus_type(int campus_type) {
        this.campus_type = campus_type;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getCampus_index() {
        return campus_index;
    }

    public void setCampus_index(int campus_index) {
        this.campus_index = campus_index;
    }

    public String getCode_name() {
        return code_name;
    }

    public void setCode_name(String code_name) {
        this.code_name = code_name;
    }

    public String getSet_up_time_s() {
        return set_up_time_s;
    }

    public void setSet_up_time_s(String set_up_time_s) {
        this.set_up_time_s = set_up_time_s;
    }
}
